package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ly.common.core.domain.BaseVo;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 金蝶-财务模块-安全库存设置对象 erp_king_base_safety_stock_info
 *
 * @author wutao
 * @date 2024-06-22
 */
@TableName ( "erp_king_base_safety_stock_info" )
@ApiModel ( value = "erp_king_base_safety_stock_info对象", description = "金蝶-财务模块-安全库存设置" )
@Data
public class KingBaseSafetyStockEntity extends BaseVo {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId ( value = "id", type = IdType.INPUT )
    private String id;

    /**
     * 所属公司
     */
    @ApiModelProperty ( "所属公司" )
    @TableField ( "dept_id" )
    @Excel ( name = "所属公司" )
    private String deptId;

    /**
     * 物料Id,dialog走接口
     */
    @ApiModelProperty ( "物料Id,dialog走接口" )
    @TableField ( "material_code" )
    @Excel ( name = "物料Id,dialog走接口" )
    private String materialCode;

    /**
     * 物料Id,dialog走接口
     */
    @ApiModelProperty ( "物料名称" )
    @TableField ( "material_title" )
    @Excel ( name = "物料Id,dialog走接口" )
    private String materialTitle;

    /**
     * 计量单位
     */
    @ApiModelProperty ( "计量单位" )
    @TableField ( "unit" )
    @Excel ( name = "计量单位" )
    private String unit;

    /**
     * 安全库存量,库存小于等于该值,发强警报
     */
    @ApiModelProperty ( "安全库存量,库存小于等于该值,发强警报" )
    @TableField ( "safety_stock_num" )
    @Excel ( name = "安全库存量,库存小于等于该值,发强警报" )
    private String safetyStockNum;

    /**
     * 再订货点,库存小于等于该值,发警报,表示可以采购
     */
    @ApiModelProperty ( "再订货点,库存小于等于该值,发警报,表示可以采购" )
    @TableField ( "again_buy_num" )
    @Excel ( name = "再订货点,库存小于等于该值,发警报,表示可以采购" )
    private String againBuyNum;

    /**
     * 经济订货点,库存小于等于该值,发通知,表示是最优采购时间点
     */
    @ApiModelProperty ( "经济订货点,库存小于等于该值,发通知,表示是最优采购时间点" )
    @TableField ( "economy_num" )
    @Excel ( name = "经济订货点,库存小于等于该值,发通知,表示是最优采购时间点" )
    private String economyNum;

    /**
     * 最大库存数量
     */
    @ApiModelProperty ( "最大库存数量" )
    @TableField ( "max_stock_num" )
    @Excel ( name = "最大库存数量" )
    private String maxStockNum;

    /**
     * 最小订购量
     */
    @ApiModelProperty ( "最小订购量" )
    @TableField ( "min_buy_num" )
    @Excel ( name = "最小订购量" )
    private String minBuyNum;

    /**
     * 最小包装量
     */
    @ApiModelProperty ( "最小包装量" )
    @TableField ( "min_pack_num" )
    @Excel ( name = "最小包装量" )
    private String minPackNum;

    /**
     * 是否可用
     */
    @ApiModelProperty ( "是否可用" )
    @TableField ( "is_send" )
    @Excel ( name = "是否可用" )
    private Integer isSend;

    @ApiModelProperty("创建人")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty("更新人")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private Date updateTime;

    /**
     * 是否可用
     */
    @ApiModelProperty ( "是否可用" )
    @TableField ( "is_disabled" )
    @Excel ( name = "是否可用" )
    private Integer isDisabled;

    /**
     * 是否可用
     */
    @ApiModelProperty ( "是否可用" )
    @TableField ( "is_used" )
    @Excel ( name = "是否可用" )
    private Integer isUsed;

    @ApiModelProperty ("是否可用")
    @TableField ("is_del")
    @Excel (name = "是否可用")
    private Integer isDel;

}
